package com.tx.admin.modules.subscribe.entity;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import com.tx.admin.core.entity.SuperEntity;
import com.tx.admin.modules.rbac.entity.UserEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Entity
@ApiModel("专题用户关联")
@Data
public class SpecialUserEntity extends SuperEntity{

	@ApiModelProperty("专题")
	@ManyToOne
	private SpecialEntity special;
	
	@ApiModelProperty("用户")
	@ManyToOne
	private UserEntity user;
	
}
